package com.gk.bean;

import com.gk.http.entity.HttpCommon;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;


public class T301HeaderBean implements HeaderBean, Serializable {
    /**
     * businessType : T301
     * porderid : 入库总单好
     * sendSource : 来源系统
     * sendTime : 2019-11-11 08:16:16
     * sendType : 0
     * sender : 发送人
     * sys : AMQ
     */
    private String businessType = "T301";
    private String porderid = "";
    private String sendSource = HttpCommon.sendSource;
    private String sendTime = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
    private int sendType = 0;
    private String sender = HttpCommon.sender;
    private String sys = HttpCommon.sys;

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getPorderid() {
        return porderid;
    }

    public void setPorderid(String porderid) {
        this.porderid = porderid;
    }

    public String getSendSource() {
        return sendSource;
    }

    public void setSendSource(String sendSource) {
        this.sendSource = sendSource;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public int getSendType() {
        return sendType;
    }

    public void setSendType(int sendType) {
        this.sendType = sendType;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getSys() {
        return sys;
    }

    public void setSys(String sys) {
        this.sys = sys;
    }
}
